home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / czeros.6 < prev    next >
Encoding:
Text File  |  1996-07-16  |  843 b   |  30 lines

  1. .TH CZEROS
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CZEROS
  5.  
  6.  
  7.  
  8.  ListType CZEROS( CurveType Crv, NumericType Epsilon, NumericType Axis )
  9.  
  10. Computes the zero set of the given Crv in the given axis (1 for X,
  11. 2 for Y, 3 for Z). Since this computation is numeric, an Epsilon is
  12. also required to specify the desired tolerance. It returns a list of
  13. all the parameter values (NumericType) the curve is zero.
  14.  
  15. Example:
  16.  
  17.     xzeros = CZEROS( cb, 0.001, 1 );
  18.     pt_xzeros = nil();
  19.     pt = nil();
  20.     for ( i = 1, 1, sizeof( xzeros ),
  21.             pt = ceval( cb, nth( xzeros, i ) ):
  22.             snoc( pt, pt_xzeros )
  23.         );
  24.     interact( list( axes, cb, pt_xzeros ), 0 );
  25.  
  26. Computes the X zero set of curve cb with error tolerance
  27. of 0.001. This set is then scanned in a loop and evaluated to
  28. the curve's locations, which are then displayed.
  29. See also CINFLECT.
  30.